package com.wcpdoc.survey.survey.service;

import java.util.List;
import java.util.Map;

import com.wcpdoc.survey.core.service.BaseService;
import com.wcpdoc.survey.survey.entity.SurveyType;
/**
 * 调查分类服务层接口
 * 
 * v1.0 zhanghc 2017-06-28 21:34:41
 */
public interface SurveyTypeService extends BaseService<SurveyType>{
	
	/**
	 * 保存调查分类
	 * v1.0 zhanghc 2017-06-28 21:34:41
	 * @param surveyType
	 * void
	 */
	void saveAndUpdate(SurveyType surveyType);

	/**
	 * 修改调查分类
	 * v1.0 zhanghc 2017-06-28 21:34:41
	 * @param surveyType
	 * void
	 */
	void editAndUpdate(SurveyType surveyType);

	/**
	 * 删除调查分类
	 * v1.0 zhanghc 2017-06-28 21:34:41
	 * @param ids 
	 * void
	 */
	void delAndUpdate(Integer[] ids);
	
	/**
	 * 获取调查分类树型列表
	 * v1.0 zhanghc 2017-06-28 21:34:41
	 * @return List<Map<String,Object>>
	 */
	List<Map<String, Object>> getTreeList();

	/**
	 * 移动调查分类
	 * v1.0 zhanghc 2017-06-28 21:34:41
	 * @param sourceId
	 * @param targetId
	 * void
	 */
	void doMove(Integer sourceId, Integer targetId);
}
